package com.myk.game.shapechesstool.models;

import android.graphics.Point;

import com.blankj.utilcode.util.StringUtils;
import com.myk.game.shapechesstool.data.ActionState;

import java.util.List;

public class HistoryInfo {

    private List<ChessInfo> pieces; //棋盘上的棋子信息集合
    private List<ChessInfo> symmetryPieces; //形成了对称的棋子信息集合
    private FallTipInfo fallTip; //最新落子提示信息
    private ArrowTipInfo arrowTip; //移动箭头提示信息
    private Point tempPoint;//切换到移子挤子状态时记录的临时坐标
    private String blackName;//黑方名字
    private String whiteName;//白方名字
    private int blackScore; //黑棋得分
    private int whiteScore; //白棋得分
    private ActionState actionState; //行动状态
    private int maxScore; //获胜需要的最大分数
    private int col, row; //棋盘的坐标大小

    public List<ChessInfo> getPieces() {
        return pieces;
    }

    public void setPieces(List<ChessInfo> pieces) {
        this.pieces = pieces;
    }

    public List<ChessInfo> getSymmetryPieces() {
        return symmetryPieces;
    }

    public void setSymmetryPieces(List<ChessInfo> symmetryPieces) {
        this.symmetryPieces = symmetryPieces;
    }

    public FallTipInfo getFallTip() {
        return fallTip;
    }

    public void setFallTip(FallTipInfo fallTip) {
        this.fallTip = fallTip;
    }

    public ArrowTipInfo getArrowTip() {
        return arrowTip;
    }

    public void setArrowTip(ArrowTipInfo arrowTip) {
        this.arrowTip = arrowTip;
    }

    public Point getTempPoint() {
        return tempPoint;
    }

    public void setTempPoint(Point tempPoint) {
        this.tempPoint = tempPoint;
    }

    public String getBlackName() {
        return StringUtils.isEmpty(blackName) ? "黑棋" : blackName;
    }

    public void setBlackName(String blackName) {
        this.blackName = blackName;
    }

    public String getWhiteName() {
        return StringUtils.isEmpty(whiteName) ? "白棋" : whiteName;
    }

    public void setWhiteName(String whiteName) {
        this.whiteName = whiteName;
    }

    public int getBlackScore() {
        return blackScore;
    }

    public void setBlackScore(int blackScore) {
        this.blackScore = blackScore;
    }

    public int getWhiteScore() {
        return whiteScore;
    }

    public void setWhiteScore(int whiteScore) {
        this.whiteScore = whiteScore;
    }

    public ActionState getActionState() {
        return actionState;
    }

    public void setActionState(ActionState actionState) {
        this.actionState = actionState;
    }

    public int getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(int maxScore) {
        this.maxScore = maxScore;
    }

    public int getCol() {
        return col;
    }

    public void setCol(int col) {
        this.col = col;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

}
